import { inject } from 'vue';
import { mqttKey } from './injectionSymbols';
import { MQTTClient } from './mqtt';

export function useMQTT(): MQTTClient {
  return inject(mqttKey)!;
}
